package com.labichaoka.chaoka.ui.home.fragment.my.withdraw;

import com.labichaoka.chaoka.entity.GetWithdrawInfo;
import com.labichaoka.chaoka.entity.GoWithdrawRequest;
import com.labichaoka.chaoka.entity.GoWithdrawResponse;

public interface WithdrawInteractor {
    interface OnFinishedListener{
        void onGetWithdrawInfoSucc(GetWithdrawInfo response);
        void onGetWithdrawInfoFailed();

        void onGoWithdrawSucc(GoWithdrawResponse response);
        void onGoWithdrawFailed();

    }

    void getWithdrawInfo(OnFinishedListener listener);
    void goWithdraw(GoWithdrawRequest request,OnFinishedListener listener);
}
